﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL100.Samples.CSharp4
{
    public class Person
    {
        public event EventHandler<EventArgs> TheEvent;

        public string Name      { get; set; }
        public string FirstName { get; set; }

        public void RaiseEvent()
        {
            if (TheEvent != null)
            {
                TheEvent(this, EventArgs.Empty);
            }
        }
    }
}
